package com.hongyun.tms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hongyun.tms.common.PageResponseDto;
import com.hongyun.tms.common.dto.mcustomer.MCustomerQueryDto;
import com.hongyun.tms.common.dto.mcustomer.MCustomerSaveReqDto;
import com.hongyun.tms.common.dto.tug.SelecSearchDTO;
import com.hongyun.tms.common.vo.MCustomerVO;
import com.hongyun.tms.entity.MCustomer;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 客户信息表 服务类
 * </p>
 *
 * @author liPeng
 * @since 2024-06-06
 */
public interface IMCustomerService extends IService<MCustomer> {
    PageResponseDto<MCustomerVO> pageList(MCustomerQueryDto query);

    List<Map<String, Object>> getCustomerList(SelecSearchDTO selectCommonSearch);

    void deleteBatch(List<String> asList);

    void saveOrUpdateCustomer(MCustomerSaveReqDto dto);

    List<MCustomerVO> export(MCustomerQueryDto query);
}
